package com.bxait.toymail.product.feign;

import com.bxait.com.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Chen
 * @description: 查询库存的feign接口
 * @ClassName WareFeignService
 * @create 2023-04-13 23:00
 * @Version 1.0
 */
@FeignClient("toymail-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasStock")
    R getSkusHasStock(@RequestBody List<Long> skuIds);
}
